<!DOCTYPE html>
<html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="renderer" content="webkit">
  <meta name="viewport"
    content="width=device-width,initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
  <title>玻璃破碎检测专题-贝能国际</title>
  <link rel="stylesheet" href="https://www.eefocus.com/asset/module-activity/css/bootstrap.min.css?1568871716">
  <link href="//main.eefocus.com/asset/theme-eefocus/css/toper.css?20170904" media="screen" rel="stylesheet"
    type="text/css">
  <link href="https://www.eefocus.com/asset/theme-eefocus/css/footer.css?20170904" media="screen" rel="stylesheet"
    type="text/css">
  <link rel="stylesheet" href="https://www.eefocus.com/asset/module-activity/css/normalize.css?1568871716">
  <link rel="stylesheet" href="https://www.eefocus.com/asset/module-activity/css/burnon2019.css?1568871716">
  <script src="https://www.eefocus.com/asset/module-activity/js/jquery1.11.2.min.js?1568871717"></script>
  <script src="https://www.eefocus.com/asset/module-activity/js/bootstrap.min.js?1568871717"></script>

  <title>与非原创 - 与非网 - EEFOCUS:中国领先的电子技术社区，为上百万电子工程师提供电子产品技术信息以及设计方案的互动交流社区平台</title>

  <meta name="author" content="与非网,eefocus.com">
  <meta name="generator" content="与非网,eefocus.com">
  <meta name="keywords" content="电子技术，半导体集成电路，电子工程师，芯片，传感器，FPGA，射频，微控制器，测试测量，汽车电子，消费电子，医疗电子，工业电子，通信/网络">
  <meta name="description"
    content="与非网(EEFOCUS)电子产业社区平台为中国电子行业首家采用强大技术平台，由专业的电子技术编辑服务，为全球3000家知名半导体厂家及电子技术系统厂商提供技术信息发布、厂商网站、技术社区建设服务，并以电子术语词典，集成电路数据手册查询，电子产品新闻访谈资讯信息以及互动技术交流社区为上百万电子技术工程师以及高校师生提供最完整的电子技术信息查询和交流服务。">

</head>

<body>
  <a href="https://www.eefocus.com/activity/burnon/welfare2019" target="_blank" style="position: fixed; top:1%; left: 1%;z-index: 10">线上链接</a>
  <!--Topper-->
  <!-- Entrance -->
  <link rel="stylesheet" href="https://www.eefocus.com/asset/module-activity/css/topernew.css">
  <link rel="stylesheet" type="text/css" href="https://www.eefocus.com/asset/theme-eefocus/css/header.css">
  <!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7/html5shiv.min.js"></script>
    <![endif]-->

  <section class="common-h-wper">
    <div class="common-h-top">
      <header class="common-h-outer">
        <!--Common Nav-->
        <nav class="common-h-nav">
          <a href="https://www.eefocus.com/?utm_campaign=dianzixinxigang&amp;utm_medium=navi&amp;utm_source=eefocus&amp;utm_content=eefocus&amp;utm_term=eefocus"
            class="nav-link active" title="看行业资讯，观技术交流" target="_blank">
            <span class="brand b-eefocus"></span>
            <span class="web">与非网</span>
          </a>
          <a href="https://www.cirmall.com/?utm_campaign=dianzixinxigang&amp;utm_medium=navi&amp;utm_source=eefocus&amp;utm_content=cirmall&amp;utm_termcirmall"
            class="nav-link" title="看别人设计、晒自己方案" target="_blank">
            <span class="brand b-cirmall"></span>
            <span class="web">电路城</span>
          </a>
          <a href="https://www.moore8.com/?utm_campaign=dianzixinxigang&amp;utm_medium=navi&amp;utm_source=eefocus&amp;utm_content=moore8&amp;utm_term=moore8"
            class="nav-link" title="做行业名师、学专业技能" target="_blank">
            <span class="brand b-moore8"></span>
            <span class="web">摩尔吧</span>
          </a>

          <a href="https://www.bom2buy.com/?utm_campaign=dianzixinxigang&amp;utm_medium=navi&amp;utm_source=eefocus&amp;utm_content=eda&amp;utm_term=bom2buy"
            class="nav-link" title="比供应报价，推荐最优方案" target="_blank">
            <span class="brand b-bom2buy"></span>
            <span class="web">买芯片</span>
          </a>
          <a href="https://www.datasheet5.com/?utm_campaign=dianzixinxigang&amp;utm_medium=navi&amp;utm_source=eefocus&amp;utm_content=datasheet5&amp;utm_term=datasheet5"
            class="nav-link" title="查器件信息，下数据手册" target="_blank">
            <span class="brand b-d5"></span>
            <span class="web">元件库</span>
          </a>
        </nav>

        <!--Common login-->
        <section class="common-h-login">
          <div class="common-logo-name">
            <a href="https://www.eefocus.com" target="_blank">
              <img src="https://www.eefocus.com/asset/theme-eefocus/image/eefocus-logo-white.png">
            </a>
          </div>
          <ul class="nav navbar-nav navbar-right" id="userBarAnonymous" style="display: none;">
            <li>
              <a href="/saml/index/login/?redirect=https%3A%2F%2Fwww.eefocus.com%2Factivity%2Fburnon%2Fwelfare2019">
                登录 </a>
            </li>
            <li>
              <a
                href="https://account.eefocus.com/user/register?app=pi250d&redirect=https%3A%2F%2Fwww.eefocus.com%2Factivity%2Fburnon%2Fwelfare2019">
                注册 </a>
            </li>
          </ul>
          <div class="login-wper" id="userBarMember" style="display: none">

            <!--User-->
            <div class="member-wper">
              <a class="member-card-item" id="memberCard" href="#"></a>
              <div class="member-card-wper" id="memberProfile">
                <i class="drop-icon"></i>
                <span class="card-item">
                  <a id="memberName" href="#">
                    Name </a>
                </span>
                <span class="card-item">
                  <a id="member-logout"
                    href="/saml/index/logout/?redirect=https%3A%2F%2Fwww.eefocus.com%2Factivity%2Fburnon%2Fwelfare2019">
                    退出 </a>
                </span>
              </div>
            </div>
            <!--Msg-->
            <div class="msg-wper">
              <a id="memberMsg" class="msg-place" href="#">
                <span class="msg-bell"></span>
                <span class="msg-point"></span>
              </a>
            </div>
          </div>

          <script>

            $(function () {
              $.getJSON("https://www.eefocus.com/system/index/user/?" + new Date().getTime(), function (user) {
                var ela = $('#userBarAnonymous');
                var elm = $('#userBarMember');
                if (user.uid > 0) {
                  ela.hide();
                  elm.show();
                  $('#memberMsg').attr('href', user.message);
                  $('#memberCard').attr('href', user.profile).html(user.avatar);
                  $('#memberName').attr('href', user.profile).html(user.name);

                  /*show message number*/
                  $.ajax({
                    type: "GET",
                    url: "https://www.eefocus.com/activity/m/getCount",
                    dataType: "json",
                    success: function (data) {
                      if (data.status == 1 && data.data > 0) {
                        $('#memberMsg').children('.msg-point').show();
                      } else {
                        $('#memberMsg').children('.msg-point').hide();
                      }
                    }
                  });
                } else {
                  ela.show();
                  elm.hide();
                }


              });

              //PC or Mobile
              var isMobile = false;
              if (navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)) {
                isMobile = true;
              } else {
                isMobile = false;
              }

              var cardTimer = null;
              var $mCard = $('#memberCard');
              var $mProfile = $('#memberProfile');

              $mCard.on('mouseover', function () {
                clearCardTime();
              }).on('mouseout', function () {
                cardTime();
              });

              $mProfile.on('mouseover', function () {
                clearCardTime();
              }).on('mouseout', function () {
                cardTime();
              });

              if (isMobile) {
                $mCard.click(function (e) {
                  return false;
                });
              }

              function cardTime() {
                cardTimer = setTimeout(function () {
                  $mCard.css('borderColor', 'transparent');
                  $mProfile.hide();
                }, 400);
              }

              function clearCardTime() {
                clearTimeout(cardTimer);
                $mCard.css('borderColor', '#d80d1f');
                $mProfile.show();
              }
            })
          </script>
        </section>
        <!--Common wxcode-->

        <section class="common-h-wx common-h-login">
          <a class="wx-wper-tit" id="wxWperTit" href="javascript:;"><span class="wx-l-logo"></span>技术交流群</a>
          <div class="wx-wper-con" id="wxWperCon">
            <img src="https://upload.semidata.info/www.eefocus.com/widget/tmp.5b4ee5604c3d9.jpg" alt="二维码" width="148"
              height="148">
            <span class="wx-con-info">添加小编微信，我们会将你拉到相应的技术讨论群</span>
          </div>
        </section>
        <script type="text/javascript">
            (function () {
              var timer,
                wxWperTit = document.getElementById('wxWperTit'),
                wxWperCon = document.getElementById('wxWperCon');
              wxWperTit.onmouseover = wxWperCon.onmouseover = function () {
                clearTimeout(timer);
                wxWperCon.style.display = "block";
              }
              wxWperTit.onmouseout = wxWperCon.onmouseout = function () {
                timer = setTimeout(function () {
                  wxWperCon.style.display = "none";
                }, 500);
              }
            })();
        </script>
      </header>
    </div>
    <div class="common-h-bottom">
      <header class="common-h-outer">
        <!--Common Search-->
        <section class="common-h-search">
          <form id="form1" action="//search.eefocus.com/s" name="form1" target="_blank">

            <div class="common-input-group">
              <input type="hidden" name="app_id" value="1001">
              <input type="text" class="common-form-control" gtbfieldid="2" autocomplete="off" name="q" value=""
                maxlength="100"
                placeholder="请输入关键词&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;搜资讯查资料&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;找开发板寻电路方案">
              <span class="common-input-group-btn">
                <button class="common-btn" type="submit" name="sub" value="1">搜索</button>
              </span>
            </div>
          </form>
        </section>
      </header>
    </div>
  </section>
  <div class="banner">
    <img src="https://www.eefocus.com/asset/module-activity/images/burnon2019/banner-m.png?1568871716" alt="banner">
  </div>

  <div class="container">
    <h4 class="topic-title"><i></i><span>活动介绍</span></h4>
    <p class="p-title text-center">活动时间</p>
    <p class="para text-center">2019年6月28日——7月27日</p>
    <p class="p-title text-center">参与方式</p>
    <p class="para">阅读专题页面内容以及文档，在下方答题区域进行答题，答完3道题目后点击 “提交”。活动结束后，我们将从全部答对的网友中抽取部分奖励下方奖品。
    </p>

    <h4 class="topic-title"><i></i><span>新型玻璃破碎检测方案</span></h4>
    <p class="p-title lg text-center">方案原理</p>
    <p class="para">
      该方案主控对采集到的音频数据和气压数据进行复杂的数字信号处理（DSP），包括气压和音频历史数据环形堆列，分频去燥去混响和自动增益控制，解决了距离问题、噪音消除问题；处理后产生的音频数据流和气压数据流放入本地音频和气压算法引擎，完成对各种事件的判断，包括低频音频提示、高频音频提示、低频高频音频同时提示、气压变化提示、玻璃破碎事件。在应用层，可以根据各种事件的提示，完成例如入侵提示，玻璃敲击提示，玻璃破碎事件报警等等，提示事件的细分，为方案融入物联网的应用提供了更多可能。
    </p>
    <div class="text-center mg-b-20">
      <img src="https://www.eefocus.com/asset/module-activity/images/burnon2019/sample-01.png?1568871716" alt="方案原理图"
        width="607" height="223">
    </div>
  </div>
  <div class="bg-gray">
    <div class="container">
      <p class="p-title lg text-center light">准确/安全</p>
      <p class="para">
        新型双条件报警检测方案采用全频率声音检测，同时摒弃震动检测这种安装限制性较大的方法，改为检测玻璃破碎时会同时引发的气压变化来做第二个检测条件，通过大量实验数据分析，提炼出较为合理的检测和数据分析算法，由此得到不误报和不漏报的理想效果。采用Infineon公司的气压传感芯片DPS310，精度高，可以检测到5cm的气压变化，完全可以检测出玻璃破碎或入侵引起的气压变化，数字数据还可以判断出入侵方向，从而减少误判。
      </p>
      <p class="p-title lg text-center light">高性价比</p>
      <p class="para">贝能国际为该方案选用了Microchip公司的主控芯片ATSAMG55J19B平台，该MCU为ARM
        Cortex-M4内核，带浮点处理单元，可以无缝运行Infineon公司为数据分析和处理所做的算法，同时带PDM接口，无需转换芯片即可直接驱动数字硅麦，整个检测器电路非常简洁、性价比高，一举解决了目前市场其他玻璃检测器存在的所有问题。硬件以主控MCU、数字硅麦和气压传感芯片为主，无需任何运放和其他芯片，节省了成本，而且一致性超好，无需进行硬件调试。
      </p>
      <p class="p-title lg text-center light">免接触安装</p>
      <p class="para">
        方案检测气压变化，有效解决震动检测需要涉及的安装问题。方案同时采用Infineon公司的数字硅麦IM69D130，PDM接口，信噪比高，集成了前端放大器，模数转换器，可以从采集到的数字数据中分解出高频数据和低频数据，无需在外围增加带通滤波器，解决了第三代全频声音检测的复杂电路问题和成本高居的问题。
      </p>

    </div>
  </div>
  <div class="container">
    <p class="p-title sm text-center">
      <span class="down-line">更多方案详情下载：<a class="download-btn link is-download" data-id="5">《第五代新型双条件报警检测方案测试及验证》<img
            src="https://www.eefocus.com/asset/module-activity/images/burnon2019/icon-download.png?1568871716"
            alt="icon" width="18" height="17"></a></span>
    </p>
    <div class="sample-wrap text-center mg-b-20 mg-t-30">
      <div class="sample-outer">
        <img src="https://www.eefocus.com/asset/module-activity/images/burnon2019/sample-02.png?1568871716" alt="方案原理图"
          width="163" height="174">
        <p class="para">硬件实物图</p>
      </div>
      <div class="sample-outer">
        <img src="https://www.eefocus.com/asset/module-activity/images/burnon2019/sample-03.png?1568871716" alt="方案原理图"
          width="415" height="238">
        <p class="para">方案硬件框图</p>
      </div>
    </div>

    <h4 class="topic-title"><i></i><span>其他常见玻璃破碎检测方法</span></h4>
    <ul class="method-item-wrap clearfix">
      <li>
        <div class="method-outer">
          <img src="https://www.eefocus.com/asset/module-activity/images/burnon2019/method-01.png?1568871716"
            alt="method" height="95">
          <p class="para sm">原理：在玻璃安装或贴上检测材料形成回路，当有人破窗而入时，因回路遭受破坏而形成开路报警来达到检测目的。</p>
          <p class="para sm">缺点：<br>由于贴合玻璃的材料的伸缩率和玻璃不完全相同，往往玻璃破碎了，回路材料未必会断裂，不能形成开路报警，存在严重的漏报问题。</p>
          <div class="download-box text-center">
            <p class="p-title"><span>第一代</span></p>
            <p class="p-title sm">开路报警</p>
            <a class="btn is-download" data-id="1">立即下载</a>
          </div>
        </div>
      </li>
      <li>
        <div class="method-outer">
          <img src="https://www.eefocus.com/asset/module-activity/images/burnon2019/method-02.png?1568871716"
            alt="method" height="95">
          <p class="para sm">原理：在金属叉之间放置小钢球或利用加速度传感器来检测震动，归结为震动警报。</p>
          <p class="para sm">缺点：<br>误报率高，往往窗外有重车经过，都可能触发报警。</p>
          <div class="download-box text-center">
            <p class="p-title"><span>第二代</span></p>
            <p class="p-title sm">震动报警检测器</p>
            <a class="btn is-download" data-id="2">立即下载</a>
          </div>
        </div>
      </li>
      <li>
        <div class="method-outer">
          <img src="https://www.eefocus.com/asset/module-activity/images/burnon2019/method-03.png?1568871716"
            alt="method" height="95">
          <p class="para sm">原理：敲击玻璃产生低频波形，即变形信号，并在玻璃真正破碎时产生高频波形，最终形成第三代玻璃破碎检测器。</p>
          <p class="para sm">缺点：<br>电路设计复杂，成本居高，受日常环境干扰较大。</p>
          <div class="download-box text-center">
            <p class="p-title"><span>第三代</span></p>
            <p class="p-title sm">全频率声音报警</p>
            <a class="btn is-download" data-id="3">立即下载</a>
          </div>
        </div>
      </li>
      <li>
        <div class="method-outer">
          <img src="https://www.eefocus.com/asset/module-activity/images/burnon2019/method-04.png?1568871716"
            alt="method" height="95">
          <p class="para sm">原理：将第三代和第二代检测器融合在一起，需要检测器检测到同时有全频声音和玻璃震动才触发报警。</p>
          <p class="para sm">缺点：<br>安装复杂且每一块玻璃都得装一块检测器，无法满足所有应用场合，客户只能根据产品的应用场合来选择。</p>
          <div class="download-box text-center">
            <p class="p-title"><span>第四代</span></p>
            <p class="p-title sm">双条件报警检测器</p>
            <a class="btn is-download" data-id="4">立即下载</a>
          </div>
        </div>
      </li>
    </ul>

    <h4 class="topic-title"><i></i><span>奖品设置</span></h4>
    <ul class="prize-item-wrap clearfix">
      <li class="text-left">
        <img src="https://www.eefocus.com/asset/module-activity/images/burnon2019/prize-01.png?1568871716" alt="prize"
          height="240" width="294">
      </li>
      <li class="text-center">
        <img src="https://www.eefocus.com/asset/module-activity/images/burnon2019/prize-02.png?1568871716" alt="prize"
          height="240" width="294">
      </li>
      <li class="text-right">
        <img src="https://www.eefocus.com/asset/module-activity/images/burnon2019/prize-03.png?1568871716" alt="prize"
          height="240" width="294">
      </li>

    </ul>
    <h4 class="topic-title"><i></i><span>答题区域</span></h4>
    <form class="form-wrap" id="formWrap" method="post" action="">

      <div class="form-group">
        <i>1</i>
        <p class="para">贝能公司联合Infineon公司推出的新型双条件玻璃破碎检测方案主要优点有：（多选）</p>
        <div class="checkbox-box clearfix">
          <label>
            <input type="checkbox" name="n1" value="A"> 基本无漏报
          </label>
          <label>
            <input type="checkbox" name="n1" value="B"> 基本无误报
          </label>
          <label>
            <input type="checkbox" name="n1" value="C"> 性价比高
          </label>
          <label>
            <input type="checkbox" name="n1" value="D"> 安装简单方便
          </label>
          <label>
            <input type="checkbox" name="n1" value="E"> 可以根据测试结果做单独应用
          </label>
        </div>
      </div>

      <div class="form-group">
        <i>2</i>
        <p class="para">新型双条件玻璃破碎检测方案能检测：（多选）</p>
        <div class="checkbox-box clearfix">
          <label>
            <input type="checkbox" name="n2" value="A"> 入侵检测
          </label>
          <label>
            <input type="checkbox" name="n2" value="B"> 低频声音
          </label>
          <label>
            <input type="checkbox" name="n2" value="C"> 高频声音
          </label>
          <label>
            <input type="checkbox" name="n2" value="D"> 撞击检测
          </label>
          <label>
            <input type="checkbox" name="n2" value="E"> 物理开路检测
          </label>
        </div>
      </div>

      <div class="form-group three">
        <i>3</i>
        <p class="para">新型双条件玻璃破碎检测方案性价比高主要体现在：（多选）</p>
        <div class="checkbox-box clearfix">
          <label>
            <input type="checkbox" name="n3" value="A"> 采用数字硅麦，外围元件少
          </label>
          <label>
            <input type="checkbox" name="n3" value="B"> 硬件一致性高，无需进行硬件调试
          </label>
          <label>
            <input type="checkbox" name="n3" value="C"> 安装方便简单
          </label>
          <label>
            <input type="checkbox" name="n3" value="D"> 方案完备，大大缩短上市时间
          </label>
          <label>
            <input type="checkbox" name="n3" value="E"> 不用每块玻璃都安装一套传感器
          </label>
        </div>
      </div>

      <div class="submit-box download-box text-center">
        <input class="btn" id="submitBtn" type="button" value="提交">
      </div>
    </form>

    <div class="footer-logo">
      <a href="http://www.burnon.com" target="_blank"><img
          src="https://www.eefocus.com/asset/module-activity/images/burnon2019/logo.png?1568871716" alt="burnon logo"
          width="166" height="49"></a>
    </div>
    <div class="footer-wrap clearfix">
      <div class="pull-left footer-left">
        <p class="para">
          贝能国际是国内知名的IC产品授权分销商及应用解决方案供应商，拥有专业的技术支持团队和完善的营销网络，主要为客户提供IC产品、IC应用解决方案和现场技术支持等多层面服务。凭借在分销领域过硬的技术实力，贝能已于2017年7月6日携手母公司福建睿能科技股份有限公司（简称“睿能科技”｜股票代码603933），以针织设备智能控制系统研发生产和半导体芯片增值分销协同发展的业务模式，正式在上海证券交易所挂牌上市。
        </p>
        <p class="para" style="margin-top: 28px;">
          <span>技术热线：021-6113 8200 </span>
          <span>技术邮箱: <a class="link" href="mailto:Tech@Burnon.com">Tech@Burnon.com</a></span>
          <span>网址: <a class="link" href="http://www.burnon.com" target="_blank">http://www.burnon.com</a></span>
        </p>
      </div>
      <div class="pull-right footer-right">
        <div class="weixinbg">
          <img src="https://www.eefocus.com/asset/module-activity/images/burnon/erweim.jpg?1568871716" alt="">
        </div>
        <div class="weixintext">贝能国际官方微信</div>
      </div>
    </div>
  </div>

  <!--Modal-->
  <div class="modal fade" id="msgModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
            &times;
          </button>
        </div>
        <div class="modal-body">
          <h3 id='resmsg'>您已成功预约</h3>
        </div>
      </div>
    </div>
  </div>
  <script src="https://www.eefcdn.com/static/aq_iframe.js"></script>
  <script src="https://cdn.bootcss.com/clipboard.js/2.0.4/clipboard.min.js"></script>
  <script>
    var isLogin = "3295819";
    var iframeUrl = "https://www.eefocus.com/surveys/425?source=www.eefocus.com&uid=3295819&redirect=https%3A%2F%2Fwww.eefocus.com%2Factivity%2Ftektronix%2Fcusredirect&token=1ce4a3b047ba021978b9a5f1155c1766&time=1569476217&type=iframe";
    var filename = '';
    var isSubmit = '';
    var _continue = function () {
      var aq_lockmask = document.getElementById("aq_lockmask");
      var aq_outside_myform = document.getElementById("aq_outside_myform");
      aq_lockmask.parentNode.removeChild(aq_lockmask);
      aq_outside_myform.parentNode.removeChild(aq_outside_myform);

      $('#aq_outside_myform').remove();
      $('#aq_lockmask').remove();

      if (filename) {
        askQuestion.download(filename);
      }

      if (isSubmit) {
        askQuestion.submit();
      }

      iframeUrl = '';
    }
    var askQuestion = {
      options: {
        $msgModal: $('#msgModal'),
        $downloadBtn: $('.is-download'),
        $form: $('#formWrap'),
        $submit: $('#submitBtn'),
        filePre: '//www.eefocus.com/activity/Burnon/down2019?filename=',
        fileArr: [1, 1, 1, 1, 2],

      },
      init: function () {
        this.downloadClick();
        this.submitClick();
        this.inputClick();
      },
      getValue: function (target) {
        var value = '';
        $(target).each(function () {
          var thisval = "" + $.trim($(this).val().replace(/<.*?>/ig, "")) + "";
          value += thisval;
        });
        return value;
      },
      checkForm: function () {
        var valid = false,
          len1 = this.options.$form.find('input[name="n1"]:checked').length,
          len2 = this.options.$form.find('input[name="n2"]:checked').length,
          len3 = this.options.$form.find('input[name="n3"]:checked').length;

        if (len1 > 0 && len2 > 0 && len3 > 0) {
          valid = true;
        }

        return valid;
      },
      isSubmit: function () {
        if (iframeUrl) {
          this.createIframe(iframeUrl);
          isSubmit = true;
        } else {
          this.submit();
        }
      },
      submitClick: function () {
        var that = this;
        that.options.$submit.click(function () {
          if (isLogin == 0 || !isLogin) {
            that.getLogin();
            return;
          } else {
            if (!that.checkForm()) {
              that.showModal('每道题至少要选一项的...');
              return;
            } else {
              that.isSubmit();
            }
          }
        })
      },
      inputClick: function () {
        var that = this;
        var $item = this.options.$form.find('label');
        $item.click(function () {
          if (isLogin == 0 || !isLogin) {
            that.getLogin();
          }
          return;
        });
      },
      submit: function () {
        var that = this;
        var getData = {},
          q1 = '',
          q2 = '',
          q3 = '';

        q1 = this.options.$form.find('input[name="n1"]:checked');
        q2 = this.options.$form.find('input[name="n2"]:checked');
        q3 = this.options.$form.find('input[name="n3"]:checked');

        getData.q1 = this.getValue(q1);
        getData.q2 = this.getValue(q2);
        getData.q3 = this.getValue(q3);

        $.ajax({
          url: '//www.eefocus.com/activity/Burnon/save2019',
          type: 'POST',
          dataType: 'json',
          cache: false,
          data: getData,
          success: function (data) {

            if (data.success == 1) {
              if (data.num >= 3) {
                that.showModal('恭喜您全部答对!<br><span class="msg-other">如有获奖，我们将以邮件方式通知您，请注意查收！</span>');
              } else {
                that.showModal('很遗憾，您未全部答对！<br><a href="javascript:;" id="copyBtn" class="msg-other" data-clipboard-text="https:\/\/www.eefocus.com\/activity\/Burnon\/welfare2019">复制本次活动链接，分享给您的好友试试吧~</a>');
                that.copyUrl();
              }
            } else {
              that.showModal(data.error);
            }
          },
          error: function (error) {
            console.log('error: ', error)
          }
        });

      },
      copyUrl: function () {
        var that = this;
        var clipboard = new ClipboardJS('#copyBtn');

        clipboard.on('success', function (e) {
          that.hideModal();
          alert('复制成功');
          e.clearSelection();
        });
        clipboard.on('error', function (e) {
          that.hideModal();
          alert('复制失败，请手动复制');
        });
      },
      checkDownload: function (fileId) {

        if (isLogin == 0 || !isLogin) {
          this.getLogin();
          return;
        } else {
          if (iframeUrl) {
            this.createIframe(iframeUrl);
            filename = fileId;
          } else {
            this.download(fileId);
          }
        }
      },
      createIframe: function (url) {
        aq_iframe_phone_create({
          id: "myform",
          url: url,
        });
      },
      download: function (fileId) {
        fileId = fileId || '';
        window.location.href = this.getFileUrl(fileId);
      },
      downloadClick: function () {
        var that = this;

        that.options.$downloadBtn.click(function () {
          var fileId = $(this).attr('data-id');
          that.checkDownload(fileId);
        });
      },
      getUrl: function () {
        return window.location.origin + window.location.pathname;
      },
      getFileUrl: function (fileId) {
        var i = 0,
          file = this.options.fileArr,
          l = file.length;
        for (; i <= l; i++) {
          if ((fileId - 1) == i) {
            return this.options.filePre + file[i];
          }
        }
      },
      getLogin: function () {
        var html = '请先<a href="/saml/index/login/?redirect=' + this.getUrl() + '">登录</a>';
        this.showModal(html);
      },
      showModal: function (msg) {
        msg = msg || '再试试...';
        this.options.$msgModal.find('h3').html(msg);
        this.options.$msgModal.modal('show');
      },
      hideModal: function () {
        this.options.$msgModal.modal('hide');
      }
    };

    $(function () {
      askQuestion.init();
    })
  </script>

  <!--Footer-->
  <div class="footer pi-footer text-center">
    <div class="container">
      <div>
        <a href="/corp/aboutEefocus.html" title="关于我们">关于我们</a> |
        <a href="/corp/contact.html" title="联系我们">联系我们</a> |
        <a href="/corp/EefocusHr.html" title="加入我们">加入我们</a> |
        <a href="/corp/OnlineService.html" title="客户服务">客户服务</a> |
        <a href="/corp/law.html" title="相关法律">相关法律</a> |
        <a href="/corp/map.html" title="网站地图">网站地图</a> |
        <a href="/page/app/" title="客户端">客户端</a> |
        <a href="/corp/link.html=" 友情链接">友情链接</a> |
        <a href="https://www.eefocus.com/feedback/" title="建议指正">建议指正</a> |
        <a target="_blank" href="https://weibo.com/eefocus" class="fc" title="@与非网"><i class="wb-icon"></i>@与非网</a>
      </div>
      <div>
        &copy; 2010 - 2019 苏州灵动帧格网络科技有限公司 版权所有. <br>
        ICP经营许可证 苏B2-20140176&nbsp;
        <a href="http://www.miibeian.gov.cn/" target="_blank">苏ICP备14012660号</a><br>
        <div style="width:300px;margin:0 auto; padding:5px 0;">
          <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32059002001874"
            style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img
              src='https://upload.semidata.info/sns.eefocus.com/freescale/article/media/2016/04/12/331491.png'
              lazysrc="" style="float:left;" />
            <p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px;">苏公网安备 32059002001874号</p>
          </a>
        </div>
      </div>
    </div>
  </div>

  <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-1502657-1']);
    _gaq.push(['_trackPageview']);
    _gaq.push(['new._setAccount', 'UA-31944875-8']);
    _gaq.push(['new._trackPageview']);
    _gaq.push(['new._setAccount', 'UA-31944875-10']);
    _gaq.push(['new._trackPageview']);
    (function () {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
  </script>

  <script type="text/javascript">
    var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
    document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F644a837956e91928688d4a74b9917d47' type='text/javascript'%3E%3C/script%3E"));
  </script>

  <!-- supplyframe tag tracking code -->
  <script type="text/javascript">
    (function () {
      window._pa = window._pa || {};
      var pa = document.createElement('script'); pa.type = 'text/javascript'; pa.async = true;
      pa.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + "//tag.perfectaudience.com/serve/5499aafcda37a38c5f0000b5.js";
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(pa, s);
    })();
  </script>
  <!-- end tracking code -->

  <script>
    (function () {
      var bp = document.createElement('script');
      var curProtocol = window.location.protocol.split(':')[0];
      if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
      }
      else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
      }
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(bp, s);
    })();
  </script>

  <!-- track for url.eefocus.com for PI short links -->
  <script type="text/javascript">
    window.onload = function () {
      var _pi = document.getElementsByClassName('widget-PI专区');
      if (_pi) {
        var _pi_a = _pi[0];
        if (_pi_a) {
          var _pageLinks = _pi[0].getElementsByTagName('a');
          for (var i = 0; i < _pageLinks.length; i++) {
            _pageLinks[i].onclick = function () {
              var url = this.toString() || '';
              if (url.indexOf('url.eefocus.com') != -1) {
                _gaq.push(['new._trackPageview', url]);
              }
            }
          }
        }
      }
    }
  </script>

</body>

</html>

<style type="text/css">
  #pi-logger-output {
    font-family: monospace;
    font-size: 90%;
    padding: 10px;
  }

  #pi-logger-output #pi-logger-tabs {
    border-top: 1px solid;
  }

  #pi-logger-output #pi-logger-categories {
    display: none;
  }

  #pi-logger-output a,
  #pi-logger-output a:visited {
    font-weight: normal;
    color: inherit;
  }

  #pi-logger-output div.pi-events {
    clear: both;
  }

  #pi-logger-output div.pi-category {
    font-weight: bold;
    padding: 10px 0 5px 0;
  }

  #pi-logger-output div.pi-event {
    clear: both;
  }

  #pi-logger-output div.pi-event .time {
    font-weight: bold;
  }

  #pi-logger-output div.pi-event .message {
    margin-left: 50px;
    font-weight: normal;
  }

  #pi-logger-output #pi-logger-errors .pi-event .message {
    color: red;
  }

  #pi-logger-output .pi-event .error,
  #pi-logger-output .pi-event .err {
    color: #FF0000;
    font-weight: bold;
  }

  #pi-logger-output .pi-event .exception {
    color: #FF0000;
  }

  #pi-logger-output .pi-event .warning,
  #pi-logger-output .pi-event .warn {
    color: #D2691E;
  }

  #pi-logger-output .pi-event .notice {
    color: #A0522D;
  }

  #pi-logger-output .pi-event .message span {
    padding-left: 5px;
  }

  #pi-logger-output .pi-event .message .label {
    width: 150px;
    text-align: right;
    float: left;
    font-weight: bold;
    padding: 2px 5px;
  }

  #pi-logger-output .pi-event .message .text {
    display: block;
    float: left;
    padding: 2px 5px;
  }
</style>
<div id="pi-logger-output">
  <div id="pi-logger-tabs">
    <span id="pi-logger-tab-log">
      <a href="javascript:piLoggerToggleCategoryDisplay('log')">
        log(19)
      </a>
    </span> |
    <span id="pi-logger-tab-debug">
      <a href="javascript:piLoggerToggleCategoryDisplay('debug')">
        debug(0)
      </a>
    </span> |
    <span id="pi-logger-tab-profiler">
      <a href="javascript:piLoggerToggleCategoryDisplay('profiler')">
        profiler(4)
      </a>
    </span> |
    <span id="pi-logger-tab-db">
      <a href="javascript:piLoggerToggleCategoryDisplay('db')">
        db(7)
      </a>
    </span> |
    <span id="pi-logger-tab-system">
      <a href="javascript:piLoggerToggleCategoryDisplay('system')">
        system(13)
      </a>
    </span> |
    <span id="pi-logger-tab-all">
      <a href="javascript:piLoggerToggleCategoryDisplay('all')">all</a>
    </span>
  </div>
  <div id="pi-logger-categories">
    <div id="pi-logger-category-log" class="pi-events">
      <div class="pi-category">log</div>
      <!-- Event list starts -->
      <div class="pi-event">
        <div class="time">13:36:57.1585</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "Log" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.2253</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "Security" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.2338</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "Database" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.3382</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "Registry" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.3511</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "Cache" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.4343</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "Module" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.4805</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "I18n" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.5033</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "Session" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.5768</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "Authentication" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.6176</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "User" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.6222</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "Api" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.7283</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "Theme" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.7358</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Translation "module/activity:default.zh-cn" is loaded.</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.7477</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "Permission" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.761</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "RenderCache" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.818</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "Asset" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.8415</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Translation "module/system:block.zh-cn" is loaded.</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.8445</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Service "Url" is loaded</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.9223</div>
        <div class="message info" style="clear: both;">[info] </div>
        <div class="message">Route: front:activity-burnon-welfare2019.</div>
      </div>

      <!-- Event list ends -->
    </div>
    <div id="pi-logger-category-debug" class="pi-events">
      <div class="pi-category">debug</div>
      <!-- Event list starts -->

      <!-- Event list ends -->
    </div>
    <div id="pi-logger-category-profiler" class="pi-events">
      <div class="pi-category">profiler</div>
      <!-- Event list starts -->
      <div class="pi-event">
        <div class="time">13:36:57.1575</div>
        <div class="message info">PI - time: 0.7693; realmem: 4718592; emalloc: 4463144</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.7645</div>
        <div class="message info">ACTIION - time: 0.0291; realmem: 0; emalloc: 19080</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.8378</div>
        <div class="message info">BLOCK: 用户账号 - time: 0.0078; realmem: 0; emalloc: 30696</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.8542</div>
        <div class="message info">BLOCK: 技术交流群 - time: 0.0000; realmem: 0; emalloc: 2776</div>
      </div>

      <!-- Event list ends -->
    </div>
    <div id="pi-logger-category-db" class="pi-events">
      <div class="pi-category">db</div>
      <!-- Event list starts -->
      <div class="pi-event">
        <div class="time">13:36:57.5649</div>
        <div class="message " style="clear: both;">[0.0028] </div>
        <div class="message">query: SELECT `core_session`.* FROM `core_session` WHERE `id` = :where1</div>
        <div class="message">params: [where1] desa37lmdts2a7iofltaujc400;</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.7485</div>
        <div class="message " style="clear: both;">[0.0020] </div>
        <div class="message">query: SELECT `core_user_role`.* FROM `core_user_role` WHERE `uid` = :where1 AND `section`
          = :where2</div>
        <div class="message">params: [where1] 3295819;[where2] front;</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.7533</div>
        <div class="message " style="clear: both;">[0.0027] </div>
        <div class="message">query: SELECT `core_permission_rule`.* FROM `core_permission_rule` WHERE `resource` =
          :where1 AND `section` = :where2 AND `role` IN (:where3) LIMIT :limit</div>
        <div class="message">params: [where1] module-admin;[where2] front;[where3] member;[limit] 1;</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.7564</div>
        <div class="message " style="clear: both;">[0.0017] </div>
        <div class="message">query: SELECT `core_permission_rule`.* FROM `core_permission_rule` WHERE `section` =
          :where1 AND `module` = :where2 AND `resource` = :where3 AND `role` IN (:where4) LIMIT :limit</div>
        <div class="message">params: [where1] front;[where2] activity;[where3] module-access;[where4] member;[limit] 1;
        </div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.8347</div>
        <div class="message " style="clear: both;">[0.0030] </div>
        <div class="message">query: SELECT `core_block`.`id` AS `id`, `core_block`.`root` AS `root`, `core_block`.`name`
          AS `name`, `core_block`.`title` AS `title`, `core_block`.`description` AS `description`, `core_block`.`module`
          AS `module`, `core_block`.`template` AS `template`, `core_block`.`render` AS `render`, `core_block`.`config`
          AS `config`, `core_block`.`type` AS `type`, `core_block`.`content` AS `content`, `core_block`.`cache_ttl` AS
          `cache_ttl`, `core_block`.`cache_level` AS `cache_level`, `core_block`.`title_hidden` AS `title_hidden`,
          `core_block`.`body_fullsize` AS `body_fullsize`, `core_block`.`active` AS `active`, `core_block`.`cloned` AS
          `cloned`, `core_block`.`class` AS `class`, `core_block`.`subline` AS `subline` FROM `core_block` WHERE `name`
          = :where1</div>
        <div class="message">params: [where1] system-user-bar;</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.851</div>
        <div class="message " style="clear: both;">[0.0030] </div>
        <div class="message">query: SELECT `core_block`.`id` AS `id`, `core_block`.`root` AS `root`, `core_block`.`name`
          AS `name`, `core_block`.`title` AS `title`, `core_block`.`description` AS `description`, `core_block`.`module`
          AS `module`, `core_block`.`template` AS `template`, `core_block`.`render` AS `render`, `core_block`.`config`
          AS `config`, `core_block`.`type` AS `type`, `core_block`.`content` AS `content`, `core_block`.`cache_ttl` AS
          `cache_ttl`, `core_block`.`cache_level` AS `cache_level`, `core_block`.`title_hidden` AS `title_hidden`,
          `core_block`.`body_fullsize` AS `body_fullsize`, `core_block`.`active` AS `active`, `core_block`.`cloned` AS
          `cloned`, `core_block`.`class` AS `class`, `core_block`.`subline` AS `subline` FROM `core_block` WHERE `name`
          = :where1</div>
        <div class="message">params: [where1] widget-tech-communication-new;</div>
      </div>

      <div class="pi-event">
        <div class="time">13:36:57.9234</div>
        <div class="message " style="clear: both;">[0.0033] </div>
        <div class="message">query: UPDATE `core_session` SET `modified` = :modified, `lifetime` = :lifetime, `uid` =
          :uid, `data` = :data WHERE `id` = :where1</div>
        <div class="message">params: [modified] 1569476217;[lifetime] 1440;[uid] 0;[data]
          __ZF|a:2:{s:20:"_REQUEST_ACCESS_TIME";d:1569476217.5692639;s:6:"_VALID";a:1:{s:36:"Zend\Session\Validator\HttpUserAgent";s:121:"Mozilla/5.0
          (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132
          Safari/537.36";}}PI_USER|a:2:{s:5:"field";a:4:{s:2:"id";s:7:"3295819";s:8:"identity";s:9:"zhaotest1";s:4:"name";s:9:"zhaotest1";s:5:"email";s:16:"zhaotest1@qq.com";}s:4:"time";i:1569476350;}FlashMessenger|C:23:"Zend\Stdlib\ArrayObject":112:{a:4:{s:7:"storage";a:0:{}s:4:"flag";i:2;s:13:"iteratorClass";s:13:"ArrayIterator";s:19:"protectedProperties";N;}}PI_AUTH|C:23:"Zend\Stdlib\ArrayObject":759:{a:4:{s:7:"storage";a:1:{s:6:"member";a:22:{s:2:"id";s:7:"3295819";s:8:"identity";s:9:"zhaotest1";s:5:"email";s:16:"zhaotest1@qq.com";s:12:"mobile_phone";s:0:"";s:4:"name";s:9:"zhaotest1";s:6:"avatar";s:36:"e48dee76d86efe4ffa860895f521b551.jpg";s:6:"gender";s:7:"unknown";s:9:"birthdate";s:0:"";s:6:"active";s:1:"1";s:12:"time_created";s:10:"1467964856";s:14:"time_activated";s:10:"1467967694";s:13:"time_disabled";s:1:"0";s:12:"time_deleted";s:1:"0";s:12:"old_password";s:0:"";s:8:"old_salt";s:0:"";s:9:"old_email";s:0:"";s:8:"old_name";s:0:"";s:4:"from";s:0:"";s:5:"merge";s:0:"";s:8:"username";s:9:"zhaotest1";s:8:"nickname";s:9:"zhaotest1";s:10:"rememberMe";s:2:"14";}}s:4:"flag";i:2;s:13:"iteratorClass";s:13:"ArrayIterator";s:19:"protectedProperties";N;}};[where1]
          desa37lmdts2a7iofltaujc400;</div>
      </div>

      <!-- Event list ends -->
    </div>
    <div id="pi-logger-category-system" class="pi-events">
      <div class="pi-category">system</div>
      <!-- Event list starts -->
      <div class="pi-event">
        <div class="message info">
          <dl class="dl-horizontal">
            <dt>Execution time</dt>
            <dd>0.8046 s</dd>
          </dl>
        </div>
      </div>

      <div class="pi-event">
        <div class="message info">
          <dl class="dl-horizontal">
            <dt>Included files</dt>
            <dd>445 files</dd>
          </dl>
        </div>
      </div>

      <div class="pi-event">
        <div class="message info">
          <dl class="dl-horizontal">
            <dt>Memory usage</dt>
            <dd>5035312; peak: 5071480 bytes</dd>
          </dl>
        </div>
      </div>

      <div class="pi-event">
        <div class="message info">
          <dl class="dl-horizontal">
            <dt>OS</dt>
            <dd>Linux</dd>
          </dl>
        </div>
      </div>

      <div class="pi-event">
        <div class="message info">
          <dl class="dl-horizontal">
            <dt>Web Server</dt>
            <dd>nginx/1.12.2</dd>
          </dl>
        </div>
      </div>

      <div class="pi-event">
        <div class="message info">
          <dl class="dl-horizontal">
            <dt>PHP Version</dt>
            <dd>5.6.40</dd>
          </dl>
        </div>
      </div>

      <div class="pi-event">
        <div class="message info">
          <dl class="dl-horizontal">
            <dt>Pi Environment</dt>
            <dd>2.5.0-dev development</dd>
          </dl>
        </div>
      </div>

      <div class="pi-event">
        <div class="message info">
          <dl class="dl-horizontal">
            <dt>Zend Version</dt>
            <dd>2.2.6</dd>
          </dl>
        </div>
      </div>

      <div class="pi-event">
        <div class="message info">
          <dl class="dl-horizontal">
            <dt>Persist Engine</dt>
            <dd>apc</dd>
          </dl>
        </div>
      </div>

      <div class="pi-event">
        <div class="message info">
          <dl class="dl-horizontal">
            <dt>Cache Storage</dt>
            <dd>Pi\Cache\Storage\Adapter\Filesystem</dd>
          </dl>
        </div>
      </div>

      <div class="pi-event">
        <div class="message info">
          <dl class="dl-horizontal">
            <dt>Module</dt>
            <dd>activity</dd>
          </dl>
        </div>
      </div>

      <div class="pi-event">
        <div class="message info">
          <dl class="dl-horizontal">
            <dt>Theme</dt>
            <dd>eefocus</dd>
          </dl>
        </div>
      </div>

      <div class="pi-event">
        <div class="message info">
          <dl class="dl-horizontal">
            <dt>Extensions</dt>
            <dd>APC: 4.0.11; cURL</dd>
          </dl>
        </div>
      </div>

      <!-- Event list ends -->
    </div>
  </div>
</div>
<script type="text/javascript">
  var cookiePath = "/";
  var cookieName = "pi-logger";
  function piLoggerCreateCookie(name, value) {
    value = value ? "+" : "-";
    document.cookie = cookieName + "=[" + name + value + "]; path=" + cookiePath;
  }
  function piLoggerReadCookie() {
    var ret = new Array("", 0);
    var nameEQ = cookieName + "=";
    var ca = document.cookie.split(';');
    for (var i = 0; i < ca.length; i++) {
      var c = ca[i];
      while (c.charAt(0) == ' ') c = c.substring(1, c.length);
      if (c.indexOf(nameEQ) == 0) {
        var valid = c.substring(c.indexOf("[") + 1, c.indexOf("]"));
        ret[0] = valid.substring(0, valid.length - 1);
        var str = valid.substring(valid.length - 1, valid.length);
        ret[1] = (str == "+") ? 1 : 0;
        return ret;
      }
    }
    return ret;
  }

  // Toggle display for a category and set corresponding cookies
  function piLoggerToggleCategoryDisplay(name) {
    var data = piLoggerReadCookie();
    var loggerview = (name == data[0]) ? (data[1] ? 0 : 1) : 1;
    return piLoggerSetCategoryDisplay(name, loggerview);
  }

  // Set display for a specified category
  function piLoggerSetCategoryDisplay(name, loggerview) {
    var logElement = document.getElementById("pi-logger-categories");
    if (!logElement) return;
    var old = piLoggerReadCookie();
    var oldElt = document.getElementById("pi-logger-tab-" + old[0]);
    if (oldElt) {
      oldElt.style.textDecoration = "none";
    }
    var i, elt;
    for (i = 0; i != logElement.childNodes.length; i++) {
      elt = logElement.childNodes[i];
      if (!elt.tagName || elt.tagName.toLowerCase() != 'div' || !elt.id) continue;
      var elestyle = elt.style;
      if (name == 'all' || elt.id == "pi-logger-category-" + name) {
        if (loggerview) {
          elestyle.display = "block";
          document.getElementById("pi-logger-tab-" + name).style.textDecoration = "underline";
        } else {
          elestyle.display = "none";
          document.getElementById("pi-logger-tab-" + name).style.textDecoration = "none";
        }
      } else {
        elestyle.display = "none";
      }
    }
    logElement.style.display = "block";
    piLoggerCreateCookie(name, loggerview);
  }

  // Not used
  function piLoggerToggleElementDisplay(id) {
    var elestyle = document.getElementById(id).style;
    if (elestyle.display == "none") {
      elestyle.display = "block";
    } else {
      elestyle.display = "none";
    }
  }

  // Set logger view for categories
  function piLoggerSetView(data) {
    return piLoggerSetCategoryDisplay(data[0], data[1]);
  }

  // Set logger output view
  var data = piLoggerReadCookie();
  piLoggerSetView(data);
</script>